package cn.tworice.client.dao;

import cn.tworice.common.entity.Companies;
import cn.tworice.common.entity.ResumeReceived;
import cn.tworice.common.entity.Resumes;
import cn.tworice.common.entity.ShowPostsLog;
import cn.tworice.common.entity.dto.PostsDto;
import cn.tworice.common.entity.dto.ResumeReceivedDto;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InfoEditDao {

    void insertShowPostsLog(ShowPostsLog showPostsLog);

    void updateShowPostsLog(ShowPostsLog showPostsLog);

    ShowPostsLog queryShowPostsLogByLog(String studentId, String postsId);

    List<PostsDto> queryPostsByLog(String studentId);

    void insertResumes(Resumes resumes);

    void updateResumes(Resumes resumes);

    Resumes queryResumesByStudentId(String studentId);

    void insertResumeReceived(ResumeReceived resumeReceived);

    ResumeReceived queryResumeReceivedByInfo(String postsId, String studentId);

    List<ResumeReceivedDto> queryResumeReceivedByStudentId(String studentId,Integer page,Integer pageSize);

    Integer queryResumeReceivedTotalByStudentId(String studentId);

    void delResumeReceived(String id);
}
